package com.qing.springcloud.common;

import lombok.Getter;

/**
 * @author caozhipeng
 * @date 2025/7/11
 * @description 群成员角色枚举
 */
@Getter
public enum RoleEnum implements CommonEnum{

    USER(0,"普通成员"),

    ADMIN(1,"管理员"),
    GROUP_LEADER(2,"群主");

    private Integer code;

    private String name;

    private  RoleEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

}
